package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

public class PromotionGift {

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("子表id")
    private String itemId;
    @ApiModelProperty("赠品id(商品)")
    private String giftMaterialId;
    @ApiModelProperty("赠品单位")
    private String giftMaterialUnit;

    private String giftMeId;

    @ApiModelProperty("赠品条码")
    private String giftBarCode;
    @ApiModelProperty("赠品数量")
    private BigDecimal giftQuantity;
    @ApiModelProperty("租户id")
    private String tenantId;
    @ApiModelProperty("删除标识")
    private String deleteFlag;
    @ApiModelProperty("有效标识  0-未上传 1-已上传 2-未下拉（调拨的状态")
    private String uploadFlag;

    private Date updateTime;
    @ApiModelProperty("商品")
    private String materialId;
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId == null ? null : itemId.trim();
    }

    public String getGiftMaterialId() {
        return giftMaterialId;
    }

    public void setGiftMaterialId(String giftMaterialId) {
        this.giftMaterialId = giftMaterialId == null ? null : giftMaterialId.trim();
    }

    public String getGiftMaterialUnit() {
        return giftMaterialUnit;
    }

    public void setGiftMaterialUnit(String giftMaterialUnit) {
        this.giftMaterialUnit = giftMaterialUnit == null ? null : giftMaterialUnit.trim();
    }

    public String getGiftMeId() {
        return giftMeId;
    }

    public void setGiftMeId(String giftMeId) {
        this.giftMeId = giftMeId == null ? null : giftMeId.trim();
    }

    public String getGiftBarCode() {
        return giftBarCode;
    }

    public void setGiftBarCode(String giftBarCode) {
        this.giftBarCode = giftBarCode == null ? null : giftBarCode.trim();
    }

    public BigDecimal getGiftQuantity() {
        return giftQuantity;
    }

    public void setGiftQuantity(BigDecimal giftQuantity) {
        this.giftQuantity = giftQuantity;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId == null ? null : tenantId.trim();
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
    }

    public String getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(String uploadFlag) {
        this.uploadFlag = uploadFlag == null ? null : uploadFlag.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }
}
